/**
 * @author Nicolas CARPi <nico-git@deltablot.email>
 * @copyright 2012 Nicolas CARPi
 * @see https://www.elabftw.net Official website
 * @license AGPL-3.0
 * @package elabftw
 */

@page {
    size: auto;
    header: header;
    footer: footer;
}

body {
    font-family: "Lato", sans-serif;
    font-kerning: normal;
}

a {
    color: #29aeb9;
    text-decoration: none;
}

code {
    border: 1px dotted #ccc;
    background-color: #eee;
}

table {
    border-collapse: collapse;
}

table,
th,
td {
    border: 1px solid #797979;
}

table td {
    padding: 5px;
}

table th {
    background-color: #dcdddc;
    color: #797979;
    text-transform: uppercase;
    font-size: 90%;
    padding: 5px;
    text-align: left;
    width: 150px;
}

/* color one row every other row */
tr:nth-child(even) {
    background-color: #fff;
}

tr:nth-child(odd) {
    background-color: #f2f2f2;
}

.no-break {
    page-break-inside: avoid;
}

.pdf-ul {
    border: 1px solid #343434;
    border-radius: 5px;
    margin: 5px;
    padding: 7px;
}

.elabid {
    text-align: right;
    color: black;
    font-size: 8pt;
}

.barcode {
    padding: 1.5mm;
    margin: 0;
    vertical-align: middle;
    color: black;
}

.attached-image {
    max-width: 100%;
    max-height: 5cm;
    border: 1px solid #dcdddc;
    margin-top: 0.5em;
}

.noborder {
    border: none;
}

#infoblock {
    border: 1px solid #dcdddc;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding-right: 15px;
    width: 100%;
    margin-top: 1em;
}

#header {
    border-bottom: 1px solid #dcdddc;
}

.footer-block {
    background-color: #e2e2e2;
    padding: 10px 0;
    width: 100%;
    font-size: 80%;
    border-top: 1px solid #dcdddc;
    border-radius: 5px;
}

.signatures {
    padding-left: 10px;
}

.footer {
    text-align: center;
}

/* caption for tinymce */
figure.image figcaption {
    margin: 2px 0 6px 0;
    border: 1px solid gray;
    text-align: center;
}
